package com.lc.fbtp.draftmsg.api.paper.ncp.ncp007;

import java.util.List;

import com.lc.fbtp.draftmsg.api.paper.MainBody;
import com.lc.fbtp.draftmsg.api.paper.MsgId;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

/**
 * 止付信息登记申请报文
 * @author yeyun20029
 *
 */
public class NCP007 extends MainBody {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 3291580568720686436L;

	/**
	 * 报文标识
	 */
	@XStreamAlias("MsgId")
	private MsgId MsgId;
	
	/**
	 * 登记信息
	 */
	@XStreamAlias("RgtInf")
	private RgtInf RgtInf;
	
	/**
	 * 票据信息集合
	 */
	@XStreamImplicit
	private List<CdInfs> CdInfs;
	
	public MsgId getMsgId() {
		return MsgId;
	}

	public void setMsgId(MsgId msgId) {
		MsgId = msgId;
	}

	public RgtInf getRgtInf() {
		return RgtInf;
	}

	public void setRgtInf(RgtInf rgtInf) {
		RgtInf = rgtInf;
	}

	public List<CdInfs> getCdInfs() {
		return CdInfs;
	}

	public void setCdInfs(List<CdInfs> cdInfs) {
		CdInfs = cdInfs;
	}

	@Override
	public String getId() {
		return MsgId.getId();
	}

	@Override
	public String getDtTm() {
		return MsgId.getCreDtTm();
	}

	@Override
	public String getOrgnlId() {
		return null;
	}

}
